<?php
include 'Article.php';
$redis = new Redis();
$_objConnect = $redis->connect('112.74.178.191', 6379);
$redis->zScore();
$_objArticle = new Article($redis);
print_r($_objArticle);exit;
//$redis->hSet('article:92617','title','射雕英雄传');
//$redis->hSet('article:92617','link','https://baike.baidu.com/item/%E5%B0%84%E9%9B%95%E8%8B%B1%E9%9B%84%E4%BC%A0/5678?fr=aladdin');
//$redis->hSet('article:92617','poster','user:83271');
//$redis->hSet('article:92617','time',time());
//$redis->hSet('article:92617','votes',528);
//$_arrArticle = $redis->hGetAll('article:92617');
//print_r($_arrArticle);exit;
